gdkkeys-win32: Fix crash when keyboard DLL failed to load
authorPhilip Zander <philip.zander@gmail.com>
Wed, 12 Jan 2022 20:31:21 +0000 (21:31 +0100)
committerLuca Bacci <luca.bacci982@gmail.com>
Wed, 12 Jan 2022 20:44:15 +0000 (21:44 +0100)
commit438fad803e4d97c1ef4b6507b3f08913ae0e0c17
treed2b8298e713546bbdb8a6f26e253a460b97be7f2
parent82f8f878bcc5ff58872d6dee2a5703b19640fe2a
gdkkeys-win32: Fix crash when keyboard DLL failed to load

DLL loading failures should not happen under normal circumstances, but
we should at least try not to crash and and print better diagnostic
messages if they do happen.

See https://gitlab.gnome.org/GNOME/gtk/-/issues/4610
gdk/win32/gdkkeys-win32-impl.c
gdk/win32/gdkkeys-win32.c